package com.kmust.dream.wanderingdream.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.util.HashSet;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.kmust.dream.wanderingdream.order.mapper")
@EnableDiscoveryClient
@ComponentScan("com.kmust.dream.wanderingdream.product")
@ComponentScan("com.kmust.dream.wanderingdream.order")
public class WanderingdreamOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(WanderingdreamOrderApplication.class, args);

    }

}
